package demo02;

public class main {
    public static void main(String[] args) {
        Person person=new Person("小菜");
        Hat hat=new Hat();
        Sneaker sneaker=new Sneaker();
        TShirt tShirt=new TShirt();
        tShirt.decorate(hat);
        sneaker.decorate(tShirt);
        sneaker.show();


    }
}
